/* 
  {
    "total": 64,
    "items": [
      {
        "id": "string",
        "gmtCreate": "2022-11-17 15:02:02",
        "gmtModified": "2022-11-17 15:02:02",
        "deleted": false,
        "roleName": "string",
        "remark": "string"
      }
    ]
  }
*/
export interface RoleItem {
  id: string;
  gmtCreate: string;
  gmtModified: string;
  deleted: boolean;
  roleName: string;
  remark: string;
}

export type RoleList = RoleItem[];

export interface GetRoleListRes {
  total: number;
  items: RoleList;
}

/* 
  {
  "deleted": false,
  "gmtCreate": "2022-11-24T01:22:02.507Z",
  "gmtModified": "2022-11-24T01:22:02.507Z",
  "id": "string",
  "remark": "string",
  "roleName": "string"
}
*/

export interface AddRoleList {
  // deleted: false;
  // gmtCreate: "2022-11-24T01:22:02.507Z";
  // gmtModified: "2022-11-24T01:22:02.507Z";
  // id: string;
  // remark: "string";
  roleName: string;
}
